let myFirstPromise = new Promise(function(resolve, reject) {
    setTimeout(function() {
        resolve("成功！");
    }, 250);
});

myFirstPromise.then(function(successMeaasge) {
    console.log('Yay! ' + successMeaasge)
});